﻿@model IEnumerable<WI.CandidateManager.Common.Data.Entities.Candidate>

@{
    ViewBag.Title = "Candidate List";
}

<h2>Candidate List</h2>

<table class="bordered">
    <thead>
    <tr>
        <th>@Resources.Common.CommonButtonDetails</th>
        <th>FullName</th>
        <th>Email</th>
        <th>Phone</th>
        <th>Rank</th>
        <th>RegisterDate</th>
    </tr>
    </thead>
    @foreach (var candidate in Model)
    {
        <tr>
            <td class="Center column-detail">@Html.ActionLink(@Resources.Common.CommonButtonDetails, "Detail", new { @CandidateId = candidate.Id }, new { @class="common-btn BlueColor" })</td>
            <td>@candidate.FullName</td>
            <td>@candidate.Email</td>
            <td>@candidate.Phone</td>
            <td>@candidate.Rank</td>
            <td>@candidate.RegisterDate</td>
        </tr>        
    }
</table>
